<?php
namespace app\console\controller;
use app\model\MemberInvite as SelfModel;
use app\model\Member;

use think\db\exception\DataNotFoundException;
use think\db\exception\DbException;
use think\db\exception\ModelNotFoundException;
use think\facade\Request;
use think\facade\Route;
use think\facade\View;
use think\facade\Db;
use think\facade\Cache;
use think\facade\Cookie;
class MemberInvite extends Base
{



    public function initialize()
    {
        parent::initialize();
        $this->model = "\app\model\MemberInvite";
        $this->list_rows = 100;
        
    }
    public function select()
    {
            $member = Member::where([['status', '=', 1]])->order(['sort' => 'asc', 'id' => 'desc'])->select()->toArray();
            View::assign('member', $member);
            $member = Member::where([['status', '=', 1]])->order(['sort' => 'asc', 'id' => 'desc'])->select()->toArray();
            View::assign('member', $member);

    }




}